//
//  MediaManager.h
//  HuaWan
//
//  Created by HuaWan Team on 2022.
//  Copyright © 2022 HuaWan Team. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <Photos/Photos.h>

@interface MediaManager : NSObject

//请求相册权限
- (void)requestPhotoAuthorizationStatus:(void (^)(BOOL granted))completion;

//打开相机权限
- (void)requestCameraAuthorizationStatus:(void (^)(BOOL granted))completion;

//提示没有相册权限
- (void)showAlertViewAboutNotAuthorAccessPhoto;

//提示没有相机权限
- (void)showAlertViewAboutNotAuthorAccessCamera;

+ (instancetype)shareInstance;

#define kMediaManager [MediaManager shareInstance]

@end
